package com.atguigu05.method_more._03valuetransfer.exer1;

/**
 * ClassName: Circle
 * Package: com.atguigu05.method_more._03valuetransfer.exer1
 * Description:
 * 定义一个Circle类，包含一个double型的radius属性代表圆的半径，一个findArea()方法返回圆的面积
 *
 * @Author 姜
 * @Create 2023/11/17 17:36
 * @Version 1.0
 */
public class Circle {
    double radius; // 半径

    public double findArea() {
        return Math.PI * radius * radius;
    }
}
